package com.chengjue.model;

import java.util.Date;

public class RequireModel {
    private Long id;

    private String name;

    private Long time;

    private String type;

    private String phone;

    private String mail;

    private String description;

    private String state;

    private String address;

    private String contact;

    private Date updateTime;

    private Date createTime;

    private Long userId;

    @Override
    public String toString() {
        return "RequireModel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", type='" + type + '\'' +
                ", phone='" + phone + '\'' +
                ", mail='" + mail + '\'' +
                ", description='" + description + '\'' +
                ", state='" + state + '\'' +
                ", address='" + address + '\'' +
                ", contact='" + contact + '\'' +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", userId=" + userId +
                '}';
    }

    public RequireModel() {
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public RequireModel(Long id, String name, Long time, String type, String phone, String mail, String description, String state, String address, String contact, Date updateTime, Date createTime, Long userId) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.type = type;
        this.phone = phone;
        this.mail = mail;
        this.description = description;
        this.state = state;
        this.address = address;
        this.contact = contact;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.userId = userId;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Long getTime() {
        return time;
    }

    public String getType() {
        return type;
    }

    public String getPhone() {
        return phone;
    }

    public String getMail() {
        return mail;
    }

    public String getDescription() {
        return description;
    }

    public String getState() {
        return state;
    }

    public String getAddress() {
        return address;
    }

    public String getContact() {
        return contact;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Long getUserId() {
        return userId;
    }
}